import { TDSLoader } from '../../lib/loaders/TDSLoader';

const loaderFor3DS = function () {
  const loader = new TDSLoader();
  if (this.resourcePath) {
    loader.setResourcePath(this.resourcePath);
  }
  loader.load(
    this.modelPath,
    (object) => this.publicLoadCallback(object),
    this.loadProgress(this)
  );
};

export default loaderFor3DS;
